package org.lucava.boatskeeper.client.event.category;

import com.google.gwt.event.shared.GwtEvent;

public class CancelEditCategoryEvent extends GwtEvent<CategoryHandler> {

    public static Type<CategoryHandler> TYPE = new Type<CategoryHandler>();

    @Override
    public Type<CategoryHandler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(CategoryHandler handler) {
        handler.onCancelEditCategory(this);
    }
}